﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<BizCollegeWebApp.Models.CourseContent>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    ViewSection
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        ViewSection</h2>
    <table class="courseViewTable" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width: 20%; vertical-align: top;">
                <% Html.RenderPartial("CourseSectionMenu", Model.Course); %>
            </td>
            <td style="width: 80%">
                <table>
                    <tr>
                        <td>
                            Section Name:
                        </td>
                        <td>
                            <%: Html.DisplayFor(model => model.SectionName) %>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Section Summary:
                        </td>
                        <td>
                            <%: Html.DisplayFor(model => model.SectionDescription) %>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Content:
                        </td>
                        <td>
                            <%: Html.ActionLink(Model.FileName, "Download", new{ id = Model.ContentID}) %>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
